//package com.student.controller;
//
//import com.student.utils.RedisClientTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author Andy
// * @date 2022/3/11 11:08
// */
//@RestController
//@RequestMapping(value = "/test")
//public class TestController {
//
//    @Autowired
//    RedisClientTemplate redisClientTemplate;
//
//    @GetMapping(value = "/testSet")
//    public Object testSet(){
//        redisClientTemplate.setToRedis("Frank","Frank测试redis");
//        System.out.println(redisClientTemplate.getRedis("Frank"));
//        return null;
//    }
//
//}
